import os

env = Environment(ENV=os.environ)
Tool('mingw')(env)

source_files = [
    Glob('src/at/*.c')
]

libraries = [
    'm'
]

exe = './lib/libat'

env.Library(
    target=exe,
    source=source_files,
    LIBS=libraries,
    LIBPATH='./lib/',
    CPPPATH='./include/',
    CCFLAGS='-g -pedantic -Wall'
)

SConscript('./samples/SConstruct')
